#pragma once

#include "LEGACYREPLACER.HPP"
////////////////////////////////////////////////////////////////////////////
SQLHSTMT   FAREXPORT GetHstmt(void);
void   FAREXPORT SetHstmt(SQLHSTMT hastmt);
SQLHDBC   FAREXPORT GetHdbc(void); 
void   FAREXPORT SetHdbc(SQLHDBC hadbc); 
int  FAREXPORT GetData(LPTSTR ,LPVOID,LPINT ,SQLHSTMT=nullptr);            //  
int  FAREXPORT PutData(LPTSTR,SQLHSTMT=nullptr );
int  FAREXPORT InsertData(LPTSTR,SQLHSTMT=nullptr);
int  FAREXPORT GetData(LPTSTR szKey, LPVOID szData, LPTSTR,LPTSTR,int ,int  );
int  FAREXPORT GetData(int iKey, LPVOID szData, LPTSTR,LPTSTR,int ,int );
int  FAREXPORT GetData(LPTSTR ,LPTSTR , LPVOID szData, LPTSTR,LPTSTR,LPTSTR ,int ,int );
int  FAREXPORT GetData(int ,int , LPVOID , LPTSTR,LPTSTR,LPTSTR ,int ,int );
int  FAREXPORT GetData(int ,LPTSTR , LPVOID , LPTSTR,LPTSTR,LPTSTR ,int ,int );
int  FAREXPORT GetData(LPTSTR ,LPTSTR ,LPTSTR , LPVOID , LPTSTR,LPTSTR,LPTSTR ,LPTSTR ,int ,int );
int  FAREXPORT GetData(int , LPTSTR ,LPTSTR , LPVOID , LPTSTR,LPTSTR,LPTSTR ,LPTSTR ,int ,int );
int  FAREXPORT GetData(int ,int,LPTSTR  , LPVOID , LPTSTR,LPTSTR,LPTSTR ,LPTSTR ,int ,int );
int  FAREXPORT GetData(int ,int ,int , LPVOID , LPTSTR,LPTSTR,LPTSTR ,LPTSTR ,int ,int );
int  FAREXPORT GetData(double iKey, LPVOID szData, LPTSTR,LPTSTR,int ,int );
////////////////////////////////////////////////////////////////////////////
